package com.ruoyi.system.domain.vo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * @Description TODO
 * @Version 1.0.0
 * @Date 2024/10/14 14:17
 * @Author wux
 */
@Data
public class TProdTaskLogVO implements Serializable {
    @ApiModelProperty(value = "ID")
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @ApiModelProperty(value = "产品id")
    private Long taskId;

    @ApiModelProperty(value = "操作类型 1增产 2减产")
    private Integer operationType;

    @ApiModelProperty(value = "调整数量")
    private Integer quantity;

    @ApiModelProperty(value = "备注")
    private String remark;

    @ApiModelProperty(value = "创建人")
    private Long createBy;

    @ApiModelProperty(value = "创建时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;

    @ApiModelProperty(value = "调整前计划产量")
    private Integer beforePlanNum;

    @ApiModelProperty(value = "创建人名称")
    private String createByName;
}
